//
//  Product_Checkout3View.h
//  iFlower
//
//  Created by khanh nguyen on 7/26/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Address;
@interface Product_Checkout3View : UIViewController <UIPickerViewDataSource,UIPickerViewDelegate>{
	IBOutlet UITextField * name;
	IBOutlet UITextField * surname;
	IBOutlet UITextField * address;
	IBOutlet UITextField * city;
	IBOutlet UITextField * postcode;
	IBOutlet UITextField * email;
	IBOutlet UITextField * phone;
	
	IBOutlet UILabel * lblAddressBook;
	IBOutlet UILabel * lblState;
	IBOutlet UILabel * lblCountry;
	
	UIPickerView * pickerView;
	NSMutableArray *arrayAddres;
	NSMutableArray *arrayState;
	NSMutableArray *arrayCountry;
	UIActionSheet* actionSheet;
	Address* currentAddress;
	
	BOOL P1;
	BOOL P2;
	BOOL P3;
	UIButton* btnRegister;
}
@property (nonatomic, retain) IBOutlet UIButton* btnRegister;
@property(nonatomic,retain)UITextField * name;
@property(nonatomic,retain)UITextField * surname;
@property(nonatomic,retain)UITextField * address;
@property(nonatomic,retain)UITextField * city;
@property(nonatomic,retain)UITextField * postcode;
@property(nonatomic,retain)UITextField * email;
@property(nonatomic,retain)UITextField * phone;

@property(nonatomic,retain)UILabel * lblAddressBook;
@property(nonatomic,retain)UILabel * lblState;
@property(nonatomic,retain)UILabel * lblCountry;

-(IBAction)button_Next:(id)sender;
-(IBAction)buttonMenu:(id)sender;
-(IBAction)buttonBack:(id)sender;
-(IBAction)buttonSelec_AddressBook:(id)sender;
-(IBAction)buttonSelec_State:(id)sender;
-(IBAction)buttonSelec_Country:(id)sender;
-(IBAction) buttonMyAccount;

@end
